﻿using System.ComponentModel.DataAnnotations;

namespace BaseGrpcEFCore.Entity
{
    public class User
    {
        [Key]
        public long? Id { get; set; }
        public string? Name { get; set; }
        public string? Account { get; set; }
        public string? Password { get; set; }
        public string? Email { get; set; }
        public string? Role { get; set; }
        public DateTime? LoginTime { get; set; } 
        public bool IsDel { get; set; } = false;
    }
}
